<template>
    <img class="domload" @load="loadfn"
         src="">
</template>

<script>
    export default {
        name: 'Button',
        props: {
            loadfn: {
                type: Function
            }
        }
    }
</script>

<style scoped lang="less" rel="stylesheet/less">
    .domload {
        display: none;
    }

</style>
